<?php
/**
 * Created by PhpStorm.
 * User: LENOVO
 * Date: 2018/9/15
 * Time: 22:53
 */

namespace app\wx\model;


use think\Model;

class History extends Model
{
    protected $autoWriteTimestamp = 'datetime';
    public function house()
    {
        return $this->belongsTo('House', 'lookHouseid', 'id');
    }
}